package edu.yctc.weblog.service;

import edu.yctc.weblog.entity.AdminDO;
import edu.yctc.weblog.entity.ResultDO;

public interface AdminService {

    public ResultDO<AdminDO> signIn(AdminDO adminDO);

    public ResultDO<AdminDO> getAdminDOById(Long id);

    public ResultDO<Void> updatePassword(Long id, String originalPassword, String newPassword);

    public ResultDO<Void> updateName(Long id, String name, String nick);

}
